<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>上传页面</title>
		<script type="text/javascript">
			function getContext(fileName){
				alert("上传成功");
		    	var ret = new Array();
		    	window.returnValue = fileName;
		    	window.close();
		    }
		</script>
		<style type="text/css">
			a {
				text-decoration: none;
				color:#7E9DCC;
				height: 20px;
				padding-left: 10px;
				padding-top: 3px;
			}
			body{
				background-color: #F3F9FF;
			}
		</style>
	</head>
	<body style="width: 300;padding-left: 20px;padding-top: 20px;font-size: 12px;">
		<!-- 上传附件 -->
		<form action="disasterAction!everyUpload.action"
			enctype="multipart/form-data" method="post" target="upframe" id="uploadForm">
			<div id="upload">
				<div>
					请选择上传文件：<br/>
					<input type="file" name="upload" style="border: 1px solid #7E9DCC;">
					<a href="javascript:document.getElementById('uploadForm').submit();" style="border:1px solid #7E9DCC;width: 50px;">上传</a>
				</div>
			</div>
		</form>
		<iframe name='upframe' id="hidden_frame" style="display: none"></iframe>
	</body>
</html>
